package com.cyj.dream.datasource.annotation;

import com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @Description: 开启动态数据源
 * @BelongsProject: DreamChardonnay
 * @BelongsPackage: com.cyj.dream.datasource.annotation
 * @Author: ChenYongJia
 * @CreateTime: 2021-09-27 09:42
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(DynamicDataSourceAutoConfiguration.class)
public @interface EnableDynamicDataSource {

}
